/*
 * Copyright 2018 Zhongan.com All right reserved. This software is the
 * confidential and proprietary information of Zhongan.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Zhongan.com.
 */

package com.yh.doing.strategy_parttern;

/**
 * TODO 类实现描述
 *
 * @author yanghui
 * @since 2018年7月11日 上午1:18:59
 */
public class ZhaoYun {
    public static void main(String[] args) {
        Context context;
        System.out.println("打开第一个");
        context = new Context(new IdearOne());
        context.opration();
        System.out.println("打开第二个");
        context = new Context(new IdearTwo());
        context.opration();
        System.out.println("打开第三个");
        context = new Context(new IdearThree());
        context.opration();
    }
}
